<template>
  <div class="index">
    <div>
      <my-top :value="value" :userImg="userImg"></my-top>
    </div>
    <div>
      <my-index></my-index>
    </div>
  </div>
</template>

<script>
import MyIndex from "../../components/myIndex.vue";
import myTop from "../../components/myTop.vue";
export default {
  components: { myTop, MyIndex },
  data() {
    return {
      value: "首页",
      userImg: "default.jpg",
    };
  },
};
</script>

<style lang="scss" scoped></style>
